//
//  SliderViewController.m
//  YouinLiveDemo
//
//  Created by lprison on 2021/9/4.
//

#import "SliderViewController.h"


@interface SliderViewController ()

@end

@implementation SliderViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
//    self.categoryView = [[JXCategoryTitleView alloc] init];
//    self.categoryView.delegate = self;
//    [self.view addSubview:self.categoryView];
//    self.categoryView.averageCellSpacingEnabled = NO;
//    self.categoryView.titles = @[@"讨论", @"成员", @"暂定"];
//    self.categoryView.titleColorGradientEnabled = YES;
//
//    JXCategoryIndicatorLineView *lineView = [[JXCategoryIndicatorLineView alloc] init];
//    lineView.indicatorColor = [UIColor redColor];
//    lineView.indicatorWidth = 20;
//    self.categoryView.indicators = @[lineView];
//
//    self.listContainerView = [[JXCategoryListContainerView alloc] initWithType:JXCategoryListContainerType_ScrollView delegate:self];
//
//    [self.view addSubview:self.listContainerView];
//    // 关联到 categoryView
//    self.categoryView.listContainer = self.listContainerView;
    
}
//
//-(void)viewDidAppear:(BOOL)animated{
//    [super viewDidAppear:animated];
//    self.categoryView.frame = CGRectMake(0, 0, self.view.bounds.size.width, 50);
//    self.listContainerView.frame = CGRectMake(0, 50, self.view.bounds.size.width, self.view.bounds.size.height-50);
//}
//
//#pragma mark 滑动选择器回调
//
//// 点击选中或者滚动选中都会调用该方法。适用于只关心选中事件，不关心具体是点击还是滚动选中的。
//- (void)categoryView:(JXCategoryBaseView *)categoryView didSelectedItemAtIndex:(NSInteger)index{
//    
//}
//
//// 点击选中的情况才会调用该方法
//- (void)categoryView:(JXCategoryBaseView *)categoryView didClickSelectedItemAtIndex:(NSInteger)index{
//    
//}
//
//// 滚动选中的情况才会调用该方法
//- (void)categoryView:(JXCategoryBaseView *)categoryView didScrollSelectedItemAtIndex:(NSInteger)index{
//    
//}
//
//// 正在滚动中的回调
//- (void)categoryView:(JXCategoryBaseView *)categoryView scrollingFromLeftIndex:(NSInteger)leftIndex toRightIndex:(NSInteger)rightIndex ratio:(CGFloat)ratio{
//    
//}
//
//// 返回列表的数量
//- (NSInteger)numberOfListsInlistContainerView:(JXCategoryListContainerView *)listContainerView {
//    return 3;
//}
//// 根据下标 index 返回对应遵守并实现 `JXCategoryListContentViewDelegate` 协议的列表实例
//- (id<JXCategoryListContentViewDelegate>)listContainerView:(JXCategoryListContainerView *)listContainerView initListForIndex:(NSInteger)index {
//    if(index == 0){
//        _chat = [ChatViewController new];
//        return _chat;
//    }
//    
//    if(index == 1){
//        _memberVC = [MemberViewController new];
//        return _memberVC;
//    }
//    
//    
//    
//    return [ListViewController new];
//}

@end
